<template>
    <div class="list-title">
        <span class="title">{{ title }}</span>
        <slot name="btns"></slot>
    </div>
</template>

<script setup>
import { inject } from "vue";
const title = inject("title");
</script>

<style lang="less" scoped>
.list-title {
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
    .title {
        color: #1b3646;
        font-size: 16px;
        font-weight: 600;
    }
}
</style>
